package com.jeff

class Airline {
	static hasMany = [flight:Flight]
	String name
	String code
	
	@Override
	public String toString() {
		return code
	}
    static constraints = {
		name(blank:false)
		code(blank:false)
    }
}
